package com.mrd.gtimpframe.service.impl;

import com.mrd.gtimpframe.entity.TGenDeclaInspectRule;
import com.mrd.gtimpframe.repository.TGenDeclaInspectRuleMapper;
import com.mrd.gtimpframe.service.TGenDeclaInspectRuleService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("tGenDeclaInspectRuleService")
public class TGenDeclaInspectRuleServiceImpl implements TGenDeclaInspectRuleService {
  @Autowired
  TGenDeclaInspectRuleMapper tGenDeclaInspectRuleMapper;

  @Override
  public int deleteByPrimaryKey(Object id) {
    return tGenDeclaInspectRuleMapper.deleteByPrimaryKey(id);
  }

  @Override
  public int insert(TGenDeclaInspectRule t) {
    return tGenDeclaInspectRuleMapper.insert(t);
  }

  @Override
  public int insertSelective(TGenDeclaInspectRule t) {
    return tGenDeclaInspectRuleMapper.insertSelective(t);
  }

  @Override
  public TGenDeclaInspectRule selectByPrimaryKey(Object id) {
    return tGenDeclaInspectRuleMapper.selectByPrimaryKey(id);
  }

  @Override
  public int updateByPrimaryKeySelective(TGenDeclaInspectRule t) {
    return tGenDeclaInspectRuleMapper.updateByPrimaryKeySelective(t);
  }

  @Override
  public int updateByPrimaryKey(TGenDeclaInspectRule t) {
    return tGenDeclaInspectRuleMapper.updateByPrimaryKey(t);
  }

}
